package com.kushe.site.form;

import com.kushe.util.core.FormValidator;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by WhiteBlue on 15/5/27.
 */
public class OrderForm extends FormValidator {


    public OrderForm(HttpServletRequest request) {
        super(request);
    }

    @Override
    public void validate() {
        this.validateNumber("count", true, 0, 5);
        this.validateNumber("size", true, 0, 5);
        this.validateNumber("design", true, 0, 5);
    }
}
